package com.zzx.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品-属性关联表(GoodsAttr)表实体类
 *
 * @author makejava
 * @since 2022-08-02 14:06:44
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sp_goods_attr")
public class GoodsAttr {
    //主键id
    @TableId
    private Long id;
    //商品id
    private Long goodsId;
    //属性id
    private Long attrId;
    //商品对应属性的值
    private String attrValue;
    //该属性需要额外增加的价钱
    private Double addPrice;



  
}

